#include <stdio.h>
#define N 10

int main() {
	int num[N];
	int jishu=0,oushu=0,i;
	for(i=0;i<N;i++) scanf("%d",num+i);
	for(i=0;i<N;i++) if(num[i]%2==0) oushu++; else jishu++;
	printf("Jishu: %d\nOushu: %d\n",jishu,oushu);
	return 0;
}